<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <link rel="stylesheet" href="element.css">
</head>

<body>
<div id="tests">
    <template>
        <el-input-number v-model="num1" @change="handleChange" :min="1" :max="10" label="描述文字"></el-input-number>
    </template>
</div>

</body>
<script src="./vue.js"></script>
<script src="./jquery.min.js"></script>
<script src="./element.js"></script>
<script>
    new Vue({
        el:"#tests",
        data () {
            return {
                num1: 1
            };
        },
        methods: {
            handleChange(value) {
                console.log(value);
            }
        }
    })
</script>


</html>